<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
	<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>出租管理页面</title>
<style>
table {
	border: 1px solid #FF0000;
}

td {
	border: 1px solid #FF0000;
}

.c2 {
	float: right;
	right: 10px;
	padding-right: 60px
}

.c1 {
	float: left;
	padding-left: 60px
}
</style>
</head>
<body>
	<center>
			<table align="center" width="500dp" height="250dp" border="1"
		cellpadding="0" cellspacing="0">
			<tr align="center">
			<td colspan="13" align="center"><div class="c1">房屋出租信息管理</div>
				<div class="c2">
					<a href="addhou">发布信息</a>
				</div></td>
		</tr>
		<tr align="center">
			<td align="center">编号</td>
			<td align="center">所在区域</td>
			<td align="center">小区名称</td>
			<td align="center">房型</td>
			<td align="center">房屋面积（/m²）</td>
			<td align="center">装修情况</td>
			<td align="center">楼层</td>
			<td align="center">租金（￥）</td>
			<td align="center">房东</td>
			<td align="center">房东电话</td>
			<td align="center">出租情况</td>
			<td align="center">发布人</td>
			<td align="center">修改</td>

		</tr>
			<c:forEach items="${selectall }" var="list" varStatus="var">
			<tr>
			<td align="center">${var.index+1 }</td>
			<td align="center">${list.harea }</td>
			<td align="center">${list.hname }</td>
			<td align="center">${list.hfx }</td>
			<td align="center">${list.hmj }</td>
			<td align="center">${list.hzx }</td>
			<td align="center">${list.hlc }</td>
			<td align="center">${list.hzj }</td>
			<td align="center">${list.hfd }</td>
			<td align="center">${list.hfdtel }</td>
			<td align="center">${list.hqk }</td>
			<td align="center">${list.uid.uame }</td>
			<td align="center"><a href="selehouse/${list.hid }">修改</a>
			<a href="delehouse/${list.hid }" onclick="return confirm('确定要删除吗！')">删除</a></td>
			</tr>
			</c:forEach>
		</table>
		
	</center>
</body>
</html>